Skip to content

Vectorize loxodrome_inverse()#1881

Merged
joa-quim merged 1 commit into
masterfrom
loxodrome_inverse-vec
Jan 20, 2026
Merged

Vectorize loxodrome_inverse()#1881
joa-quim merged 1 commit into
masterfrom
loxodrome_inverse-vec

Conversation

@joa-quim

Copy link
Copy Markdown
Member

No description provided.

@codecov-commenter

codecov-commenter commented Jan 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.97%. Comparing base (568e32d) to head (70b1536).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1881      +/-   ##
==========================================
- Coverage   86.10%   85.97%   -0.14%     
==========================================
  Files         177      177              
  Lines       26651    26651              
==========================================
- Hits        22949    22914      -35     
- Misses       3702     3737      +35     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/loxodromics.jl
m1 = meridian_dist(lat1, a, e2)
m2 = meridian_dist(lat2, a, e2)
lox_s = (m2 - m1) / cos(Az12);
lox_s = (m2 .- m1) ./ cos.(Az12);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
lox_s = (m2 .- m1) ./ cos.(Az12);
lox_s = @. (m2 - m1) / cos(Az12);

Hi, Joa, you can simplify the code like this

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I know, thanks, but I guess I prefer avoid using macros when I can..

@joa-quim joa-quim merged commit 47e5c8e into master Jan 20, 2026
5 of 7 checks passed
@joa-quim joa-quim deleted the loxodrome_inverse-vec branch January 20, 2026 11:23
@joa-quim joa-quim changed the title Vectorixe loxodrome_inverse() Vectorize loxodrome_inverse() Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants